[INFO] cloning repository https://github.com/mfs/rustasm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfs/rustasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfs%2Frustasm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfs%2Frustasm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1913d508b2158cc97661323c46a3636b9ad55b07
[INFO] testing mfs/rustasm against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfs%2Frustasm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mfs/rustasm
[INFO] finished tweaking git repo https://github.com/mfs/rustasm
[INFO] tweaked toml for git repo https://github.com/mfs/rustasm written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mfs/rustasm on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mfs/rustasm already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f291df2f6f3b0b27139a5f23c0401eb0b134c215dbe5c9edb70083a6b6188e4
[INFO] running `Command { std: "docker" "start" "-a" "2f291df2f6f3b0b27139a5f23c0401eb0b134c215dbe5c9edb70083a6b6188e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f291df2f6f3b0b27139a5f23c0401eb0b134c215dbe5c9edb70083a6b6188e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f291df2f6f3b0b27139a5f23c0401eb0b134c215dbe5c9edb70083a6b6188e4", kill_on_drop: false }`
[INFO] [stdout] 2f291df2f6f3b0b27139a5f23c0401eb0b134c215dbe5c9edb70083a6b6188e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6372c8aed20452897456fa19e521bad59d41abcc289fd7f0f5952d755dfccee9
[INFO] running `Command { std: "docker" "start" "-a" "6372c8aed20452897456fa19e521bad59d41abcc289fd7f0f5952d755dfccee9", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling nom v1.2.1
[INFO] [stderr]    Compiling rustasm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `OpCode` is more private than the item `OpCodeTable::get`
[INFO] [stdout]   --> src/opcode_table.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn get(&self, mnemonic: &Mnemonic) -> Option<&OpCode> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `OpCodeTable::get` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `OpCode` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/opcode_table.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct OpCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `symbol_table` is never read
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Assembler {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     symbol_table: SymbolTable,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `list` is never used
[INFO] [stdout]   --> src/main.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Assembler {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     fn list(&self, mnemonic: Mnemonic) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/symbol_table.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Symbol {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 4 |     value: u64,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `table` is never read
[INFO] [stdout]  --> src/symbol_table.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct SymbolTable {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 9 |     table: HashMap<String, Symbol>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/opcode_table.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum OperandType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout]  5 |     Imm8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  6 |     Imm16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Reg8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |     Reg16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     Mem8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Mem16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     Mem32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     Mem64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code` and `length` are never read
[INFO] [stdout]   --> src/opcode_table.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct OpCode {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 34 |     pub code: Vec<u8>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 35 |     pub length: usize,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/opcode_table.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl OpCodeTable {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get(&self, mnemonic: &Mnemonic) -> Option<&OpCode> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Addr` is never used
[INFO] [stdout]  --> src/elf64.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | type Elf64Addr = u64;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Off` is never used
[INFO] [stdout]  --> src/elf64.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | type Elf64Off = u64;
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Half` is never used
[INFO] [stdout]  --> src/elf64.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Elf64Half = u16;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Word` is never used
[INFO] [stdout]  --> src/elf64.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type Elf64Word = u32;
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Sword` is never used
[INFO] [stdout]  --> src/elf64.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type Elf64Sword = i32;
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Xword` is never used
[INFO] [stdout]   --> src/elf64.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Elf64Xword = u64;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Elf64Sxword` is never used
[INFO] [stdout]   --> src/elf64.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type Elf64Sxword = i64;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct FileHeader {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SectionHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct SectionHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ProgramHeader` is never constructed
[INFO] [stdout]   --> src/elf64.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct ProgramHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Elf64` is never constructed
[INFO] [stdout]   --> src/elf64.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Elf64 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:100:16
[INFO] [stdout]     |
[INFO] [stdout] 100 |   named!( source<Source>,
[INFO] [stdout]     |   -              ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 101 | |     alt!( line_comment |
[INFO] [stdout] 102 | |           line_instruction_operands |
[INFO] [stdout] 103 | |           line_label |
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 100 | named!( source<Source<'a>>,
[INFO] [stdout]     |                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:159:22
[INFO] [stdout]     |
[INFO] [stdout] 159 |   named!( line_comment<Source>,
[INFO] [stdout]     |   -                    ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 160 | |     chain!(
[INFO] [stdout] 161 | |         space? ~
[INFO] [stdout] 162 | |         comment: comment ~
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 159 | named!( line_comment<Source<'a>>,
[INFO] [stdout]     |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:171:35
[INFO] [stdout]     |
[INFO] [stdout] 171 |   named!( line_instruction_operands<Source>,
[INFO] [stdout]     |   -                                 ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 172 | |     chain!(
[INFO] [stdout] 173 | |         space? ~
[INFO] [stdout] 174 | |         instruction: instruction ~
[INFO] [stdout] ...   |
[INFO] [stdout] 185 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 171 | named!( line_instruction_operands<Source<'a>>,
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:187:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |   named!( line_label<Source>,
[INFO] [stdout]     |   -                  ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 188 | |     chain!(
[INFO] [stdout] 189 | |         space? ~
[INFO] [stdout] 190 | |         label: label ~
[INFO] [stdout] ...   |
[INFO] [stdout] 199 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 187 | named!( line_label<Source<'a>>,
[INFO] [stdout]     |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/parser.rs:201:41
[INFO] [stdout]     |
[INFO] [stdout] 201 |   named!( line_label_instruction_operands<Source>,
[INFO] [stdout]     |   -                                       ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |  _|
[INFO] [stdout]     | |
[INFO] [stdout] 202 | |     chain!(
[INFO] [stdout] 203 | |         space? ~
[INFO] [stdout] 204 | |         label: label ~
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | | );
[INFO] [stdout]     | | -
[INFO] [stdout]     | | |
[INFO] [stdout]     | |_the lifetime is named here
[INFO] [stdout]     |   the same lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 201 | named!( line_label_instruction_operands<Source<'a>>,
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let op = self.op_code_table.get(&mnemonic).unwrap();
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |                  mnemonic.mnemonic, op.code, op.length);
[INFO] [stdout]    |                                     ^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: type `OpCode` is private
[INFO] [stdout]   --> src/main.rs:70:46
[INFO] [stdout]    |
[INFO] [stdout] 70 |                  mnemonic.mnemonic, op.code, op.length);
[INFO] [stdout]    |                                              ^^ private type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustasm` (bin "rustasm") due to 3 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6372c8aed20452897456fa19e521bad59d41abcc289fd7f0f5952d755dfccee9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6372c8aed20452897456fa19e521bad59d41abcc289fd7f0f5952d755dfccee9", kill_on_drop: false }`
[INFO] [stdout] 6372c8aed20452897456fa19e521bad59d41abcc289fd7f0f5952d755dfccee9
